package modelo;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

@Entity
@NamedQueries( { @NamedQuery(name = "Notacargo.findAll", query = "select o from Notacargo o") })
@Table(name = "\"notacargo\"")
public class Notacargo implements Serializable {
    @Id
    @Column(name = "idnotacargo", nullable = false)
    private long idnotacargo;
    @Column(name = "uuid", nullable = false)
    private String uuid;

    public Notacargo() {
    }

    public Notacargo(long idnotacargo, String uuid) {
        this.idnotacargo = idnotacargo;
        this.uuid = uuid;
    }

    public long getIdnotacargo() {
        return idnotacargo;
    }

    public void setIdnotacargo(long idnotacargo) {
        this.idnotacargo = idnotacargo;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }
}
